
<#--@ftlvariable name="homeTownList" type ="java.util.List<String>"-->
<#--@ftlvariable name="hobbys" type ="java.util.List<String>"-->
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <form action="/doRegister"method="post" autocomplete="off">
        学号：<input type="text" name="uid" id="uid"><br>
        密 码：<input type="password" name="password" id="password"><br>
        用户名：<input type="text" name="uname" id="uname"><br>
<#--        性 别：<input type="radio" name="sex" id="man">男-->
<#--        <input type="radio" name="sex" id="woman">女<br>-->
        籍 贯：
        <select name="hometown" required>
            <option value="-">---请选择一项--</option>
            <#list homeTownList as hometown>
                <option >${hometown!""}</option>
            </#list>
            </select>
<#--        </select><br>-->
<#--        爱 好：-->
<#--        <#list hobbys as hobby>-->
<#--            <input type="checkbox" name="hobby" id="eat"value="${hobby_index}">${hobby}-->
<#--        </#list>-->
        <br>
        <input type="submit" value="注册">
    </form>
</body>
</html>